package com.hsd.netty.server.service;

import org.springframework.stereotype.Component;

/**
 * @author s.he
 * on 2020/6/1
 */
@Component
public class NettyServiceImpl implements NettyService {
    @Override
    public String sayHello() {
        return "hello";
    }

    @Override
    public String sayNetty() {
        return "netty";
    }

    @Override
    public String countNum(Double a, Double b) {
        return String.valueOf(a - b) ;
    }
}
